package com.example.designModel.single;

/**
 * Created by Quincy on 2018/9/10.
 * 静态内部类[推荐用]
 */
public class Single4 {

    private Single4(){

    }

    private static class SingleInstance{
        private static final Single4 instance = new Single4();
    }

    public static Single4 getInstance(){
        return SingleInstance.instance;
    }
}
